//
// Created by Administrator on 24-8-10.
//
#include "start.h"
#include "main.h"
#include "usart.h"
#include <string>
#include "../ThreadMGR/ThreadMGR.h"

using namespace std;

void startup()
{
    string str = "hello world!";

//    ThreadMGR thread;
//    thread.InitThreads();
    /* Start scheduler */
    osKernelStart();

    while(1)
    {
        HAL_Delay(100);
        HAL_UART_Transmit(&huart1,(uint8_t *)str.data(),str.size(),0xff);

    }
}

